﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/FwrkPages/AbmBase.Master" CodeBehind="Abm_Filtro.aspx.vb" Inherits="StartFrame.Web.Abm_CamposFiltro" 
    title="ABM Campos de filtro" %>

<%@ Register Assembly="Webparts" Namespace="Webparts" TagPrefix="cc2" %>
    
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="FormularioEdicion" runat="server">

<script src="../App_js/validaciones.js" type="text/javascript"></script>
<script src="../App_js/custom_events.js" type="text/javascript"></script>
<script src="../App_js/funciones.js" type="text/javascript"></script>

<asp:Panel ID="panelEdicion" runat="server">
    <asp:Table ID="Table1" runat="server">
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label1" class="label" runat="server" Text="Nombre :" ></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:DropDownList id="nm_campo" runat="server" class="sel"></asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label2" class="label" runat="server" Text="Filtro :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:RadioButtonList ID="tp_filtro" runat="server" class="radiobuttonbox">
                    <asp:ListItem  Selected="True" Value="U" Text="Unico" class="radiobuttonitem" ></asp:ListItem>
                    <asp:ListItem Value="D" Text="Desde-Hasta" class="radiobuttonitem" ></asp:ListItem>
                </asp:RadioButtonList>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label3" class="label" runat="server" Text="Tipo de dato :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:DropDownList ID="tp_dato" runat="server" Autopostback="True" class="sel" >
                </asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label4" class="label" runat="server" Text="Caracteres :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:TextBox ID="ca_caracteres" runat="server" class="texto" ></asp:TextBox>                
                <asp:Label ID="lbl_val_ca_caracteres" runat="server" Text="" ForeColor="Red"></asp:Label>                
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label5" class="label" runat="server" Text="Mínimo :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:TextBox ID="va_minimo" runat="server" class="texto"></asp:TextBox>
                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="va_minimo" Format="dd-MM-yyyy" PopupButtonID="/images/Calendar_scheduleHS.png" Enabled="false"></cc1:CalendarExtender>                
                <asp:Label ID="lbl_val_va_minimo" runat="server" Text="" ForeColor="Red"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label6" class="label" runat="server" Text="Máximo :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:TextBox ID="va_maximo" runat="server" class="texto"></asp:TextBox>                
                <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="va_maximo" Format="dd-MM-yyyy" PopupButtonID="/images/Calendar_scheduleHS.png" Enabled="false"></cc1:CalendarExtender>
                <asp:Label ID="lbl_val_va_maximo" runat="server" Text="" ForeColor="Red"></asp:Label></asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label7" class="label" runat="server" Text="Mínimo predeterminado :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:TextBox ID="va_defecto_min" runat="server" class="texto"></asp:TextBox>
                <cc1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="va_defecto_min" Format="dd-MM-yyyy" PopupButtonID="/images/Calendar_scheduleHS.png" Enabled="false"></cc1:CalendarExtender>
                <asp:Label ID="lbl_val_va_defecto_min" runat="server" Text="" ForeColor="Red"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label8" class="label" runat="server" Text="Máximo predeterminado :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:TextBox ID="va_defecto_max" runat="server" class="texto"></asp:TextBox>
                <cc1:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="va_defecto_max" Format="dd-MM-yyyy" PopupButtonID="/images/Calendar_scheduleHS.png" Enabled="false"></cc1:CalendarExtender>
                <asp:Label ID="lbl_val_va_defecto_max" runat="server" Text="" ForeColor="Red"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label9" class="label" runat="server" Text="Tabla :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>            
                <asp:DropDownList ID="nm_tabla" runat="server" Autopostback="True" class="sel" >
                </asp:DropDownList>                                                     
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label10" class="label" runat="server" Text="Campo de tabla :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>            
                <asp:DropDownList ID="nm_campo_tabla" runat="server" Autopostback="True" class="sel">
                </asp:DropDownList>                                
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label11" class="label" runat="server" Text="Campo descripción de tabla :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>            
                <asp:DropDownList ID="nm_campo_tabla_des" runat="server" Autopostback="True" class="sel"></asp:DropDownList>                                
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow>
            <asp:TableHeaderCell>
                <asp:Label ID="Label12" class="label" runat="server" Text="Observaciones :"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:TextBox ID="de_obs" TextMode="MultiLine" runat="server" width="400" class="texto"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        
    </asp:Table>
  </asp:Panel>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="FormularioEdicion1" runat="server">
<asp:Panel ID="panelEdicion1" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FormularioEdicion2" runat="server">
<asp:Panel ID="panelEdicion2" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="FormularioEdicion3" runat="server">
<asp:Panel ID="panelEdicion3" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="FormularioEdicion4" runat="server">
<asp:Panel ID="panelEdicion4" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="FormularioEdicion5" runat="server">
<asp:Panel ID="panelEdicion5" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="FormularioEdicion6" runat="server">
<asp:Panel ID="panelEdicio6" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content8" ContentPlaceHolderID="FormularioEdicion7" runat="server">
<asp:Panel ID="panelEdicion7" runat="server">
</asp:Panel>
</asp:Content>

<asp:Content ID="Content9" ContentPlaceHolderID="FormularioEdicion8" runat="server">
<asp:Panel ID="panelEdicion8" runat="server">
</asp:Panel>
</asp:Content>